gdk: Explain the relation between device type and mode
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 21 Jul 2014 19:17:31 +0000 (21:17 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 21 Jul 2014 20:16:04 +0000 (22:16 +0200)
GdkInputMode doesn't apply to all device types, explain why
and how do these interact.

gdk/gdkdevice.c

index 544b681ce48270ff025ef43cdf4562c036847276..e784dfa24d2f6627ad04e97d1b80ec594050a96c 100644 (file)
@@ -748,6 +748,10 @@ gdk_device_get_mode (GdkDevice *device)
  * device is active and whether the device’s range is mapped to the
  * entire screen or to a single window.
  *
+ * Note: This is only meaningful for floating devices, master devices (and
+ * slaves connected to these) drive the pointer cursor, which is not limited
+ * by the input mode.
+ *
  * Returns: %TRUE if the mode was successfully changed.
  **/
 gboolean